﻿
CREATE PROCEDURE [dbo].[OPM_ReturnOrderHeader_UpdateStatus]
(
	@Id int,
	@ReturnOrderStatusId int,
	@UpdatedBy int
)

AS

    UPDATE dbo.[OPM_ReturnOrderHeader]
	SET 
		[ReturnOrderStatusId] = @ReturnOrderStatusId,
		[UpdatedBy] = @UpdatedBy,
		[UpdatedOn] = getdate()
	WHERE [Id] = @Id